try {
    //  监听electron进程变化，进行自动更新
    require('electron-reloader')(module);
} catch (_) {
    console.log('Error: Module `electron-reloader` not found');
}
const {app, BrowserWindow} = require('electron')
const {createMainWindow} = require('./create-window')
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'

app.whenReady().then(() => {
    //  创建主窗口
    const mainWindow = createMainWindow()

})


